/*
 * Copyright (c) 2018-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

namespace TencentCloud.Faceid.V20180301.Models
{
    using Newtonsoft.Json;
    using System.Collections.Generic;
    using TencentCloud.Common;

    public class IntentionQuestion : AbstractModel
    {
        
        /// <summary>
        /// 当选择语音问答模式时，系统自动播报的问题文本。
        /// - 最大长度为150个字符。
        /// </summary>
        [JsonProperty("Question")]
        public string Question{ get; set; }

        /// <summary>
        /// 当选择语音问答模式时，用于判断用户回答是否通过的标准答案列表。
        /// - 传入后可自动判断用户回答文本是否在标准文本列表中。
        /// - 列表长度最大为50，单个答案长度限制10个字符。
        /// </summary>
        [JsonProperty("Answers")]
        public string[] Answers{ get; set; }


        /// <summary>
        /// For internal usage only. DO NOT USE IT.
        /// </summary>
        public override void ToMap(Dictionary<string, string> map, string prefix)
        {
            this.SetParamSimple(map, prefix + "Question", this.Question);
            this.SetParamArraySimple(map, prefix + "Answers.", this.Answers);
        }
    }
}

